import { defineStore } from 'pinia';

export const useParentInfo = defineStore('parent', {
	state: ()=>{
		return {
			parentInfo: {}
		}
	},
	getters: {
		
	},
	//  动作支持异步
	actions: {
		setParentInfo(res){
			this.parentInfo = res;
		},
		clearAll(){
			this.parentInfo = {}
		}
	}
});